Tested and fixed compute_display_string_pos for buffer iteration.
authorEli Zaretskii <eliz@gnu.org>
Fri, 10 Jun 2011 11:43:04 +0000 (14:43 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 10 Jun 2011 11:43:04 +0000 (14:43 +0300)
commit9f1ecff7c3fa9a3c0a0b6600f759ee7f6d0b697f
tree7d3623a864406b86e800d1acd986e6e84a0bba23
parent4b5ef74c1f426479be450931fa4758803a8e60f5
Tested and fixed compute_display_string_pos for buffer iteration.
Also fixed an unrelated bug caused by vertical-motion.

 src/xdisp.c (Fcurrent_bidi_paragraph_direction): Initialize
 itb.string.lstring.
 (compute_display_string_pos, compute_display_string_end):
 Fix calculation of the object to scan.  Fixes an error when using
 arrow keys.
 (next_element_from_buffer): Don't abort when IT_CHARPOS is before
 base_level_stop; instead, set base_level_stop to BEGV.  Fixes
 crashes in vertical-motion.
src/ChangeLog
src/xdisp.c